package com.example.databindingdemo;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import com.example.databindingdemo.databinding.ActivityBindingadapterBinding;
import com.example.databindingdemo.databinding.ActivityImportdatabindingBinding;

public class BindingAdapterActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityBindingadapterBinding activityBindingadapterBinding = DataBindingUtil.setContentView(this,R.layout.activity_bindingadapter);
        activityBindingadapterBinding.setNetImageUrl("https://pic.netbian.com/uploads/allimg/180826/113958-1535254798fc1c.jpg");
    }
}
